package com.ldp.designpatterns.review.structure.decorator.demo2.concreteComponent;

import com.ldp.designpatterns.review.structure.decorator.demo2.component.Battercake;

/**
 * @ClassName BaseBattercake
 * @Description TODO 第2步：创建具体构件 ConcreteComponent 实现抽象构建component
 * @Author lindipei
 * @Date 2023/10/20 17:21
 */
public class BaseBattercake extends Battercake {

    @Override
    public String getMessage() {
        return "煎饼果子";
    }

    @Override
    public int getPrice() {
        return 5;
    }

}